﻿using BBICMS.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BBICMS.Application.InputModels.Works
{


    public class ClientIM
    {

        public int Id { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "ClientName")]
        [Required(ErrorMessageResourceType = typeof(Validations), ErrorMessageResourceName = "Required")]
        public string ClientName { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Logo")]     
        public string LogoURL { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Homepage")]
        public string Homepage { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Importance")]
        public int Importance { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Active")]

        public bool Active { get; set; }
        public DateTime AddedDate { get; set; }
        public string AddedBy { get; set; }
        public DateTime? UpdatedDate { get; set; }

        [Display(Name = "创建者")]
        public string UpdatedBy { get; set; }
    }
}
